package com.suntront.module_mine.home

import android.widget.TextView
import com.mtjsoft.www.kotlinmvputils.base.BaseViewModel
import com.tencent.mmkv.MMKV

/**
 * @author mtj
 * @Package com.suntront.module_mine.home
 * @date 2020-05-27 14:22:09
 */

class MineViewModel : BaseViewModel() {

    fun setNameAndAccount(name: TextView, account: TextView) {
        name.text = MMKV.defaultMMKV().decodeString("AdminName","")
        account.text = MMKV.defaultMMKV().decodeString("name","")
    }
}